package com.tomato.spring.framework.test.data;

import com.tomato.spring.framework.core.annotation.Service;
import com.tomato.spring.framework.injection.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;

@Service
@Slf4j
public class StudentService2 implements IStudentService {
    @Autowired
    private StudentDao dao;


    public void save() {
        log.info("service2:save student.....");
        dao.save();
    }
}
